from problem_agent import ProblemAgent, NO_LIMIT
import search.astar as astar
import all_h

class RoadNetAgent (ProblemAgent) :
    '''
    This is a concrete implementation for a Problem Solving Agent.
    '''
    
    def solve(self, problem_state, hu, aw = 0.5, gv = 0):
        reload(astar)
        alg = astar.AStar(w = aw)
        return alg.find(problem_state,hu, gv)
